export default class AttendanceSettings {
  static list (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/attendance/group', 'get', params, axiosOption, httpOption);
  }
  static add (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/attendance/group', 'post', params, axiosOption, httpOption);
  }
  static update (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/attendance/group/update', 'post', params, axiosOption, httpOption);
  }
  static detail (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/attendance/group/${params}`, 'get', axiosOption, httpOption);
  }
  static delete (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/attendance/group/delete/${params}`, 'get', axiosOption, httpOption);
  }
  static deletes (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/attendance/group/delete', 'get', params, axiosOption, httpOption);
  }
  static listHoliday (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/attendance/holiday/getHoliday', 'get', params, axiosOption, httpOption);
  }
  static listGroupUser (sender, axiosOption, httpOption) {
    return sender.doUrl('admin/attendanceGroupUser/listUserByNoGroup', 'get', axiosOption, httpOption);
  }
}
